<template>
	<div class="web-content">
		<web-news-list v-show="letData" v-on:letData="getstatus"></web-news-list>
		<web-loading v-if="!letData"></web-loading>
	</div>
</template>
<script>
	import Loading from '../components/public/Loading.vue'
	import PCList from '../components/news/PcList.vue'
	export default{
		data(){
			return{
				letData:false
			}
		},
		components:{
			'web-news-list': PCList,
			'web-loading': Loading
		},
		methods:{
			getstatus(val){
				this.letData = val;
			}
		}
	}
</script>
